package cate.common.table.activity.brightmythequipment.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class BrightMythBaseRow extends ERow {

    @NoteField("功能ID")
    public int funcId;

    @NoteField("活动配置ID")
    public int configId;

    @NoteField("抽奖消耗道具")
    public String cost;

//    @NoteField("作弊器中奖范围")
//    public String rangeStr;

    @NoteField("刷新扣除价格")
    public String refreshCost;

    @NoteField("日志数量")
    public int recordNum;

    @EExcelNoteField(fieldName = "开放合成")
    public int[] forgeTids;

    @Override
    public void parse(XSSFRowWrap xrw) {
        this.id = xrw.getInteger("活动ID");
        this.funcId = xrw.getInteger("功能ID");
        this.configId = xrw.getInteger("活动配置ID");
        this.cost = xrw.getString("抽奖消耗道具");
//        this.rangeStr = xrw.getString("作弊器中奖范围");
        this.refreshCost = xrw.getString("刷新扣除价格");
        this.recordNum = xrw.getInteger("日志数量");
    }
}
